package tt.dz.order.vo;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Title 下单后返回的订单信息
 * @author zhoutian
 * @date 2015-11-26
 */
public class CreatedOrderVO {
	// 订单号
	private String orderNo;
	// 主服务编号
	private String mainServiceNo;
	// 主服务名称
	private String mainServiceName;
	// 总金额
	private BigDecimal totalFee;
	// 订单项信息列表
	private List<ServicePriceVO> orderItemVOList;

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getMainServiceName() {
		return mainServiceName;
	}

	public void setMainServiceName(String mainServiceName) {
		this.mainServiceName = mainServiceName;
	}

	public BigDecimal getTotalFee() {
		return totalFee;
	}

	public void setTotalFee(BigDecimal totalFee) {
		this.totalFee = totalFee;
	}

	public List<ServicePriceVO> getOrderItemVOList() {
		return orderItemVOList;
	}

	public void setOrderItemVOList(List<ServicePriceVO> orderItemVOList) {
		this.orderItemVOList = orderItemVOList;
	}

	public String getMainServiceNo() {
		return mainServiceNo;
	}

	public void setMainServiceNo(String mainServiceNo) {
		this.mainServiceNo = mainServiceNo;
	}

	public CreatedOrderVO() {
	}

	/**
	 * @Title 服务价格查询的返回对象
	 * @author zhoutian
	 * @date 2015-11-26
	 */
	public static class ServicePriceVO {
		// 服务编号
		private String serviceNo;
		//订单唯一标识
		private String itemId;
		// 服务名称
		private String serviceName;
		// 购买数量，如预约时间、电量等
		private BigDecimal buyNum;
		// 原始价格
		private BigDecimal originalPrice;
		// 优惠后价格
		private BigDecimal realPrice;
		// 订单项描述
		private String message;
		// 设备编号,表示该服务是哪个设备提供的，比如桩的编号
		private String equipmentNo;

		public String getServiceNo() {
			return serviceNo;
		}

		public void setServiceNo(String serviceNo) {
			this.serviceNo = serviceNo;
		}

		public String getServiceName() {
			return serviceName;
		}

		public void setServiceName(String serviceName) {
			this.serviceName = serviceName;
		}

		public BigDecimal getBuyNum() {
			return buyNum;
		}

		public void setBuyNum(BigDecimal buyNum) {
			this.buyNum = buyNum;
		}

		public BigDecimal getOriginalPrice() {
			return originalPrice;
		}

		public void setOriginalPrice(BigDecimal originalPrice) {
			this.originalPrice = originalPrice;
		}

		public BigDecimal getRealPrice() {
			return realPrice;
		}

		public void setRealPrice(BigDecimal realPrice) {
			this.realPrice = realPrice;
		}

		public String getMessage() {
			return message;
		}

		public void setMessage(String message) {
			this.message = message;
		}

		public String getEquipmentNo() {
			return equipmentNo;
		}

		public void setEquipmentNo(String equipmentNo) {
			this.equipmentNo = equipmentNo;
		}

		public String getItemId() {
			return itemId;
		}

		public void setItemId(String itemId) {
			this.itemId = itemId;
		}

		public ServicePriceVO() {
		}
	}
}
